{extend name="extend:page" /}

{block name="title"}项目汇选{/block}

{block name="css"}
<link rel="stylesheet" type="text/css" href="/public/webfe/css/project.css" />
{/block}


{block name="body"}
<div class="layout-region page bg-eee overa">
	<div class="layout-safety p-t-4x">
		<div class="bg-fff p-y-1x p-x-3x box-shadow" style="border: 1px solid #EDEDED;">
			<div class="condition" id="tpl-condition" style="display: none;">
				
			</div>
		</div>
		
		<div class="box-shadow m-y-4x bg-fff position-relative">
			<div class="cont-title"><em>项目汇选</em></div>
			<div class="projects-search position-absolute position-top position-right clearfix">
				<input type="text" name="skey" id="searchInput" value="" placeholder="输入关键词" />
				<a href="javascript:;" class="searchClear" id="searchClear"><i class="icon-fail fs18r"></i></a>
				<a href="javascript:;" class="searchBtn" id="searchBtn">搜索</a>
			</div>
			<div class="projects-volist" id="tpl-projects-volist">
				
			</div>
			<div class="nothing-box nothing-bg position-relative">
				<p class="position-absolute position-screen text-center fs14r" style="top: 320px;">
					没有相关条件的项目，请更换其它查询条件试试！
				</p>
			</div>
		</div>
	</div>
</div>
{/block}



{block name="js"}
<script type="text/html" id="tpl-condition-template">
	{{# var _index = 1; }}
	{{# for ( var i in d ) { }}
		{{# if ( _index < 3) { }}
			<dl class="cdon-box clearfix b-line-b">
		{{# } else { }}
			<dl class="cdon-box clearfix">
		{{# } }}
			<dt>{{ d[i][1] }}：</dt>
			<dd class="active">
				<a href="javascript:;" data-condition="{{ d[i][2] }}" data-title="">全部</a>
			</dd>
			{{# var vo = d[i][0]; }}
			{{# for ( var v in vo ) { }}
				<dd>
					<a href="javascript:;" data-condition="{{ d[i][2] }}" data-title="{{ vo[v] }}">{{ vo[v] }}</a>
				</dd>
			{{# } }}
		</dl>
		{{# _index++; }}
	{{# } }}
</script>
<script type="text/html" id="projects-volist-template">
	{{# for ( var i in d ) { }}
		{{# var list = d[i]; }}
		<div class="p-volist b-line-b clearfix bg-fff">
			<span class="float-left b-line-r v-valign" style="display: block; height: 100%; width: 120px;">
				<img src="{{ list.logo }}" class="pic-circle m-x-auto" />
			</span>
			<span class="float-left m-l-6x">
				<p>{{ list.title }}<font>{{ list.round }}</font></p>
				<p>{{ list.words }}</p>
				<p><em>{{ list.city }}</em><em>{{ list.industry }}</em></p>
			</span>
			<a href="/project/{{ list.id }}" class="submit-buttom">查看详情</a>
		</div>
	{{# } }}
</script>
<script type="text/javascript" src="/public/modules/thin.min.js" thin-main="/public/webfe/js/projectsIndex" thin-loader="/public/webfe/resource/mainloader" thin-cache="false"></script>
<script type="text/javascript">
	document.getElementById('nav-head-ctyl').className = 'active';
	document.getElementById('nav-sub-xmhx').className = 'active';
</script>
{/block}